import { axios } from '@/utils/request'

/**
 * 查询经营数据
 *
 * @author cy
 * @date 2022-07-28 19:41:13
 */
export function businessDataRecordPage (parameter) {
  return axios({
    url: '/businessDataRecord/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 经营数据列表
 *
 * @author cy
 * @date 2022-07-28 19:41:13
 */
export function businessDataRecordList (parameter) {
  return axios({
    url: '/businessDataRecord/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加经营数据
 *
 * @author cy
 * @date 2022-07-28 19:41:13
 */
export function businessDataRecordAdd (parameter) {
  return axios({
    url: '/businessDataRecord/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑经营数据
 *
 * @author cy
 * @date 2022-07-28 19:41:13
 */
export function businessDataRecordEdit (parameter) {
  return axios({
    url: '/businessDataRecord/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除经营数据
 *
 * @author cy
 * @date 2022-07-28 19:41:13
 */
export function businessDataRecordDelete (parameter) {
  return axios({
    url: '/businessDataRecord/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出经营数据
 *
 * @author cy
 * @date 2022-07-28 19:41:13
 */
export function businessDataRecordExport (parameter) {
  return axios({
    url: '/businessDataRecord/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
